projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470a1aa
)
columnview: Increase the autoscroll threshold
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 19 Jun 2020 16:23:28 +0000
(12:23 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 19 Jun 2020 19:26:10 +0000
(15:26 -0400)
With autoscroll during DND, we stop when you hit the edge
of the widget, so a larger threshold makes sense to avoid
hitting the edge by accident.
gtk/gtkcolumnview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcolumnview.c
b/gtk/gtkcolumnview.c
index 1b6be13a44ad3675f1ed15559bd7039b5db1c231..48f785d34a807b68ee7f6441e6f46506daf7f43c 100644
(file)
--- a/
gtk/gtkcolumnview.c
+++ b/
gtk/gtkcolumnview.c
@@
-779,7
+779,7
@@
remove_autoscroll (GtkColumnView *self)
}
}
-#define SCROLL_EDGE_SIZE
15
+#define SCROLL_EDGE_SIZE
30
static void
update_autoscroll (GtkColumnView *self,